package exceptions;

import game.GoBoard;

public class NotOccupiedException extends Exception {
	
	private GoBoard board;
	private int position;

	public NotOccupiedException(GoBoard board, int position) {
		this.board = board;
		this.position = position;
	}
	
	public String toString() {
		return "Empty intersection ("+board.labelPosition(position)+")";
	}
}
